package cn.bdqn.service.Impl;

import cn.bdqn.dao.Ebook_categoryMapper;
import cn.bdqn.pojo.Ebook_category;
import cn.bdqn.service.Ebook_categoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;


@Service("ebook_categoryService")
public class Ebook_categoryServiceImpl implements Ebook_categoryService {

    @Autowired
    @Qualifier("ebook_categoryMapper")
  private Ebook_categoryMapper ebook_categoryMapper;

    @Override
    public List<Ebook_category> getAll() {
        List<Ebook_category> list = ebook_categoryMapper.getAll();
        return list;
    }
}
